﻿<%@ Page Language="C#" MasterPageFile="~/pages/EditData/MasterPage.master" AutoEventWireup="true" CodeFile="EnterPrise.aspx.cs" Inherits="pages_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
<!--

function Reset1_onclick() {

}

// -->
</script>

    <div style="font-size: 9pt; text-align: left">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 748px" align="left">
            <tr>
                <td align="left" style="width: 680px; height: 24px">
                    <asp:Label ID="Label1" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td align=center style="height: 118px; width: 680px;">
                    <asp:GridView ID="gvEnter" runat="server" AutoGenerateColumns="False" Width="739px" BorderColor="Black" BorderWidth="1px" CellSpacing="1">
                        <Columns>
                            <asp:TemplateField HeaderText="操作">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnDelete" runat="server" OnCommand="lbtnDelete_Command" OnLoad="lbtnDelete_Load" CausesValidation="False">删除</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="CustomerID" HeaderText="编码" />
                            <asp:BoundField DataField="Name" HeaderText="名称" />
                            <asp:BoundField DataField="Address" HeaderText="地址" />
                            <asp:BoundField DataField="Phone" HeaderText="电话" />
                            <asp:BoundField DataField="LinkMan" HeaderText="联系人" />
                            <asp:BoundField DataField="Bank" HeaderText="开户银行" />
                            <asp:BoundField DataField="BankAccounts" HeaderText="银行账号" />
                            <asp:BoundField DataField="Net" HeaderText="网页" />
                            <asp:BoundField DataField="Email" HeaderText="电子邮箱" />
                            <asp:BoundField DataField="Type1" HeaderText="供货商" />
                            <asp:BoundField DataField="Type2" HeaderText="维修商" />
                            <asp:BoundField DataField="Type3" HeaderText="客户" />
                        </Columns>
                        <HeaderStyle Font-Size="9pt" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="height: 15px; width: 680px;" align="center">
                    <table style="width: 638px; height: 173px;">
                        <tr>
                            <td style="width: 92px; height: 21px" align="left">
                                编 码：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtID" runat="server" Enabled="False" Width="127px"></asp:TextBox></td>
                       
                            <td style="width: 90px; height: 21px" align="left">
                                名 称：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtName" runat="server" Width="127px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                                    ErrorMessage="*"></asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 92px; height: 21px" align="left">
                                地 址：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtAddress" runat="server" Width="127px"></asp:TextBox></td>
                        
                            <td style="width: 90px; height: 21px" align="left">
                                电 话：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtPhone" runat="server" Width="127px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPhone"
                                    ErrorMessage="*"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 92px; height: 21px" align="left">
                                联 系 人：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtLinkMan" runat="server" Width="127px"></asp:TextBox></td>
                       
                            <td style="width: 90px; height: 21px" align="left">
                                开户银行：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtBank" runat="server" Width="127px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 92px; height: 21px" align="left">
                                银行账户：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtBankAccounts" runat="server" Width="127px"></asp:TextBox></td>
                       
                            <td style="width: 90px; height: 21px" align="left">
                                网 页：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtNet" runat="server" Width="127px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 92px; height: 21px" align="left">
                                电子邮箱：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:TextBox ID="txtEmail" runat="server" Width="127px"></asp:TextBox>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                                    ErrorMessage="格式不对" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                        
                            <td style="width: 90px; height: 21px" align="left">
                                类 型：</td>
                            <td style="width: 173px; height: 21px" align="left">
                                <asp:CheckBox ID="CheckBox1" runat="server" Text="供货商" Checked="True" />
                                <asp:CheckBox ID="CheckBox2" runat="server" Text="维修商" />
                                <asp:CheckBox ID="CheckBox3" runat="server" Text="客户" /></td>
                        </tr>
                        <tr>
                            <td colspan="4" style="height: 21px; text-align: center" align="left">
                                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="确定" />
                                <input id="Reset1" type="reset" value="重置" language="javascript" onclick="return Reset1_onclick()" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

